﻿using System;
using UnityEngine;




/// <summary>
/// 动画调用扩展的有限状态机
/// </summary>
public abstract class FSMAnimator
{
    protected Animator animator{private set;get;}

    public abstract void Play<T>(T status) where T:Enum;
    public void SetAnimator(Animator animator)
    {
        this.animator = animator;
    }
}
